home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / futils / futils~1 / src / text11s.zoo / text1.1 / lib / Makefile.st < prev    next >
Encoding:
Makefile  |  1991-11-02  |  1.6 KB  |  67 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile for library files used by GNU textutils.
  3. # Do not use this makefile directly, but only from `../Makefile'.
  4. # Copyright (C) 1991 Free Software Foundation, Inc.
  5.  
  6. # This program is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation; either version 2, or (at your option)
  9. # any later version.
  10.  
  11. # This program is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. # GNU General Public License for more details.
  15.  
  16. # You should have received a copy of the GNU General Public License
  17. # along with this program; if not, write to the Free Software
  18. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  
  20. SHELL = /bin/sh
  21.  
  22. srcdir = ./lib
  23.  
  24.  
  25. SOURCES = error.c getopt.c getopt1.c linebuffer.c regex.c xmalloc.c xwrite.c \
  26. bcopy.c memchr.c memcmp.c stpcpy.c
  27.  
  28. OBJECTS =  error.o getopt.o getopt1.o linebuffer.o regex.o xmalloc.o xwrite.o \
  29.  stpcpy.o
  30.  
  31. DISTFILES = Makefile.in getopt.h linebuffer.h regex.h $(SOURCES)
  32.  
  33. all: libtu.a
  34. .PHONY: all
  35.  
  36. install: all
  37. .PHONY: install
  38.  
  39. tags: $(SOURCES)
  40.     ctags $(SOURCES)
  41.  
  42. TAGS: $(SOURCES)
  43.     etags $(SOURCES)
  44.  
  45. clean:
  46.     rm -f *.a *.o
  47. .PHONY: clean
  48.  
  49. distclean: clean
  50.     rm -f tags TAGS Makefile
  51. .PHONY: distclean
  52.  
  53. realclean: distclean
  54. .PHONY: realclean
  55.  
  56. dist:
  57.     ln $(DISTFILES) ../`cat ../.fname`/lib
  58. .PHONY: dist
  59.  
  60. libtu.a: $(OBJECTS)
  61.     rm -f $@
  62.     $(AR) cr $@ $(OBJECTS)
  63.     -$(RANLIB) $@
  64.  
  65. getopt1.o: getopt.h
  66. regex.o: regex.h
  67.